package com.duoduo.service;

import com.duoduo.entity.UserAddress;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * TODO
 *
 * @author qian
 * @version 1.0
 * @date 2021/4/16 16:07
 */
public class OrderServiceImpl implements OrderService{

    @Autowired
    private UserService userService;

    @Override
    public List<UserAddress> findAddressByUserId(String userId) {
        return userService.queryAllAddress();
    }
}
